package com.huiyuanai.pojo.bill;

import com.huiyuanai.dao.Contact;

import java.sql.Connection;
import java.sql.SQLException;
import java.util.List;

/**
 * @Author: liwan
 * @Description:
 * @Date: create in 2021/10/18
 */
public interface BillPojo {
    //获取用户数据
    List<Contact> getContact(Connection connection, String productName, String ProviderId, int isPayment, int id) throws SQLException;

    //新增数据
    int add(Connection connection, Contact contact) throws SQLException;

    //删除数据
    int del(Connection connection, String id) throws SQLException;

    //更新数据
    int upDate(Connection connection, Contact contact) throws SQLException;
}
